package com.xnyzc.lhy.mis.service.worksheet;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.mis.entity.order.OaCOrderPersonal;
import com.xnyzc.lhy.resource.entity.worksheet.param.WorksheetgetOrderPersonalListParam;

import java.util.List;

/**
 * 订单服务接口
 * @author haoyfa
 */
public interface IOrderPersonalService extends IService<OaCOrderPersonal> {

    /**
     * 查询订单信息
     * @param orderNo
     * @return
     */
    OaCOrderPersonal getOrderDetail(String orderNo);

    /**
     * 根据手机号获取订单详情列表
     * @param param 乘客电话号
     * @return
     */
    List<OaCOrderPersonal> getOrderDetailList(WorksheetgetOrderPersonalListParam param);

    /**
     * 根据手机号获取订单详情列表总条数
     * @param param didi用户id
     * @return
     */
    Integer selectListLimitTotal(WorksheetgetOrderPersonalListParam param);

    /**
     * 根据手机号获取订单详情列表
     * @param param 乘客电话号
     * @return
     */
    List<OaCOrderPersonal> getDriverOrderDetailList(WorksheetgetOrderPersonalListParam param);

    /**
     * 根据手机号获取订单详情列表总条数
     * @param param 司机电话
     * @return
     */
    Integer selectDriverListLimitTotal(WorksheetgetOrderPersonalListParam param);
}
